package com.gxan.renshidao.impl;

import com.gxan.pojo.SysJob;
import com.gxan.renshidao.SysJobDao;
import com.gxan.utils.db.JdbcUtils;

import java.sql.SQLException;
import java.util.List;

public class SysJobDaoImpl extends JdbcUtils implements SysJobDao {
    //查询职位表
    @Override
    public List<SysJob> findJob() throws SQLException {
        String sql = "select * from sys_job";
        return super.queryListEntity(SysJob.class,sql);
    }
}
